{template "header.html"}
<?php $hdtp = dr_site_value('hdtp');?>
<?php $cpflbt = dr_site_value('cpflbt');?>
<?php $cpfllb = dr_site_value('cpfllb');?>
<?php $gywmmk = dr_site_value('gywmmk');?>
<!--banner-->
<div class="banner_sy">
    <div class="flexslider">
        <ul class="slides">
            <?php if ($hdtp) { $key=0; foreach ($hdtp as $v) { ?>
            <li><a href="{$v[3]}" target="_blank"><img src="{dr_get_file($v[1])}" alt="{usu_fanyi($v[2], $language)}"></a>
                <div class="banner-text">
                    <div class="banner-text-c"><div class="itme"><div class="th">{usu_fanyi($v[2], $language)}</div>
                        <span><a href="{$v[3]}">{usu_fanyi("Read More", $language)}</a></span></div></div>
                </div>
            </li>
            <?php  $key++; } } ?>
        </ul>
    </div>
</div>

<div class="mian-contain">
    <!--focus-->
    <?php if ($cpflbt) { $key=0; foreach ($cpflbt as $v) { ?>
    <section class="focus">
        <div class="focus-center">
            <div class="focus-box">
                <h1>{usu_fanyi($v[1], $language)}</h1>
                <p>{usu_fanyi($v[2], $language)}</p>
            </div>
        </div>
    </section>
    <?php  $key++; } } ?>
    <!--focus结束-->

    <!--subblock-->
    <section class="subblock wow fadeInDown">
        <div class="category">
            <ul>
                <?php if ($cpfllb) { $key=0; foreach ($cpfllb as $v) { ?>
                <li>
                    <div class="category-box">
                        <a href="{$v[2]}" class="category-box-zoom"> <img src="{dr_get_file($v[3])}" alt="{usu_fanyi($v[1], $language)}"></a>
                        <div class="category-box-detail">
                            <a href="{$v[2]}">
                                <div class="category-box-type"><h2>{usu_fanyi($v[1], $language)}</h2></div>
                            </a>
                        </div>
                    </div>
                </li>

                <?php  $key++; } } ?>
            </ul>
        </div>
    </section>
    <!--subblock end-->

    <!-- About Us -->
    <?php if ($gywmmk) { $key=0; foreach ($gywmmk as $v) { ?>
    <section class="index-about">
        <div class="index-about-center">
            <div class="index-about-t"><span>{usu_fanyi("About Us", $language)}</span><i></i></div>
            <div class="index-about-box">
                <div class="index-about-l wow slideInLeft">
                    <div class="index-about-r-frame">
                        <img src="{dr_get_file($v[4])}" alt="{usu_fanyi('About Us', $language)}">
                    </div>
                </div>
                <div class="index-about-r wow slideInRight">
                    <div class="index-about-text">
                        <div class="th"><a href="{$v[3]}">{usu_fanyi($v[1], $language)}</a></div>
                        <p>{usu_fanyi($v[2], $language)}</p>
                        <span><a href="{$v[3]}">{usu_fanyi('Details', $language)}</a></span>
                    </div>
                </div>

            </div>
        </div>
    </section>
    <?php  $key++; } } ?>
    <!-- About Us end-->
    <!-- Featured Products -->

    <section class="featured-products">
        <div class="featured-products-center">
            <div class="featured-products-t"><span>{usu_fanyi('Featured Products', $language)}</span><i></i></div>
            <div class="featured-products-box">
                <ul>
                    {module module=news catid=1}
                    <li>
                    <div class="item"><a href="{$t['url']} " title="{usu_fanyi($t['title'], $language)}"><img src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}"></a>
                    <div class="featured-products-box-t"><a href="{$t['url']} " title="{usu_fanyi($t['title'], $language)}"><h3>{usu_fanyi($t['title'], $language)}</h3></a>
                        </div>
                    </div>
                    </li>
                    {/module}
                </ul>
            </div>
        </div>
    </section>
    <!-- Featured Products end-->
    <!--case-->

    <section class="index-case">
        <div class="index-case-center">
            <div class="index-case-box wow fadeInDown">
                <ul>
                    {module module=news catid=10 num=4}
                    <li>
                        <div class="item"><div class="index-case-box-frame"><a href="{$t['url']} "><img src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}"></a></div>
                            <div class="index-case-box-text"><div class="th"><a href="{$t['url']} ">{usu_fanyi($t['title'], $language)}</a></div>
                                <p>{usu_fanyi($t['description'], $language)}</p>
                                <span><a href="{$t['url']}">{usu_fanyi("Details", $language)}</a></span>
                            </div>
                        </div>
                    </li>
                    {/module}
                </ul>
            </div>
        </div>
    </section>

    <!--case end-->

    <!--hot-products-->
    <section class="hot-products wow fadeInDown">
        <div class="hot-products-center">
            <div class="hot-products-t"><span>{usu_fanyi("Hot Products", $language)}</span><i></i></div>
            <div class="hot-products-box">
                <ul>
                    {module module=news flag=1}
                    <li>
                        <div class="item">
                            <a href="{$t['url']}" title="{usu_fanyi($t['title'], $language)}"><img src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}"></a>
                        <div class="hot-products-box-t">
                            <a href="{$t['url']}" title="{usu_fanyi($t['title'], $language)}">
                                <h3>{usu_fanyi($t['title'], $language)}</h3>
                            </a>
                            <span><a href="{$t['url']}">{usu_fanyi("Read More", $language)}</a></span>
                        </div>
                        </div>
                    </li>
                    {/module}
                </ul>
            </div>
        </div>
    </section>
    <!--hot-products end-->

    <!--news-->&nbsp;
    <section class="index-news wow fadeInDown">
        <div class="index-news-center">
            <div class="index-news-t"><span>{usu_fanyi("News", $language)}</span><i></i></div>
            <div class="index-news-box">
                <ul>
                    {module module=news catid=2 num=3}
                    <li>
                        <div class="item"><div class="index-news-box-frame"><a href="{$t['url']} "><img src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}"></a></div>
                            <div class="index-news-text"><div class="th"><a href="{$t['url']} ">{usu_fanyi($t['title'], $language)}</a></div>
                                <p>{usu_fanyi($t['description'], $language)}</p>
                                <span>{dr_date($t['inputtime'],'Y-m-d')}</span>
                            </div>
                        </div>
                    </li>
                    {/module}
                </ul>
            </div>
        </div>
    </section>
    <!--news end-->

</div>

{template "footer.html"}